package com.eshop.modules.user.vo;

import java.io.Serializable;
import java.util.Date;

public class OnlineUser implements Serializable {
    private String address;
    private String browser;
    private String ip;
    private String job;
    //加密后的jwtToken
    private String key;
    private Date loginTime;
    private String nickName;
    private String userName;

    /* access modifiers changed from: protected */
    public boolean canEqual(Object other) {
        return other instanceof OnlineUser;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof OnlineUser)) {
            return false;
        }
        OnlineUser other = (OnlineUser) o;
        if (!other.canEqual(this)) {
            return false;
        }
        String this$userName = getUserName();
        String other$userName = other.getUserName();
        if (this$userName != null ? !this$userName.equals(other$userName) : other$userName != null) {
            return false;
        }
        String this$nickName = getNickName();
        String other$nickName = other.getNickName();
        if (this$nickName != null ? !this$nickName.equals(other$nickName) : other$nickName != null) {
            return false;
        }
        String this$job = getJob();
        String other$job = other.getJob();
        if (this$job != null ? !this$job.equals(other$job) : other$job != null) {
            return false;
        }
        String this$browser = getBrowser();
        String other$browser = other.getBrowser();
        if (this$browser != null ? !this$browser.equals(other$browser) : other$browser != null) {
            return false;
        }
        String this$ip = getIp();
        String other$ip = other.getIp();
        if (this$ip != null ? !this$ip.equals(other$ip) : other$ip != null) {
            return false;
        }
        String this$address = getAddress();
        String other$address = other.getAddress();
        if (this$address != null ? !this$address.equals(other$address) : other$address != null) {
            return false;
        }
        String this$key = getKey();
        String other$key = other.getKey();
        if (this$key != null ? !this$key.equals(other$key) : other$key != null) {
            return false;
        }
        Date this$loginTime = getLoginTime();
        Date other$loginTime = other.getLoginTime();
        return this$loginTime != null ? this$loginTime.equals(other$loginTime) : other$loginTime == null;
    }

    public int hashCode() {
        int i = 43;
        String $userName = getUserName();
        int hashCode = $userName == null ? 43 : $userName.hashCode();
        String $nickName = getNickName();
        int i2 = (hashCode + 59) * 59;
        int hashCode2 = $nickName == null ? 43 : $nickName.hashCode();
        String $job = getJob();
        int i3 = (i2 + hashCode2) * 59;
        int hashCode3 = $job == null ? 43 : $job.hashCode();
        String $browser = getBrowser();
        int i4 = (i3 + hashCode3) * 59;
        int hashCode4 = $browser == null ? 43 : $browser.hashCode();
        String $ip = getIp();
        int i5 = (i4 + hashCode4) * 59;
        int hashCode5 = $ip == null ? 43 : $ip.hashCode();
        String $address = getAddress();
        int i6 = (i5 + hashCode5) * 59;
        int hashCode6 = $address == null ? 43 : $address.hashCode();
        String $key = getKey();
        int i7 = (i6 + hashCode6) * 59;
        int hashCode7 = $key == null ? 43 : $key.hashCode();
        Date $loginTime = getLoginTime();
        int i8 = (i7 + hashCode7) * 59;
        if ($loginTime != null) {
            i = $loginTime.hashCode();
        }
        return i8 + i;
    }

    public void setAddress(String address2) {
        this.address = address2;
    }

    public void setBrowser(String browser2) {
        this.browser = browser2;
    }

    public void setIp(String ip2) {
        this.ip = ip2;
    }

    public void setJob(String job2) {
        this.job = job2;
    }

    public void setKey(String key2) {
        this.key = key2;
    }

    public void setLoginTime(Date loginTime2) {
        this.loginTime = loginTime2;
    }

    public void setNickName(String nickName2) {
        this.nickName = nickName2;
    }

    public void setUserName(String userName2) {
        this.userName = userName2;
    }

    public String toString() {
        return "OnlineUser(userName=" + getUserName() + ", nickName=" + getNickName() + ", job=" + getJob() + ", browser=" + getBrowser() + ", ip=" + getIp() + ", address=" + getAddress() + ", key=" + getKey() + ", loginTime=" + getLoginTime() + ")";
    }

    public OnlineUser(String userName2, String nickName2, String job2, String browser2, String ip2, String address2, String key2, Date loginTime2) {
        this.userName = userName2;
        this.nickName = nickName2;
        this.job = job2;
        this.browser = browser2;
        this.ip = ip2;
        this.address = address2;
        this.key = key2;
        this.loginTime = loginTime2;
    }

    public OnlineUser() {
    }

    public String getUserName() {
        return this.userName;
    }

    public String getNickName() {
        return this.nickName;
    }

    public String getJob() {
        return this.job;
    }

    public String getBrowser() {
        return this.browser;
    }

    public String getIp() {
        return this.ip;
    }

    public String getAddress() {
        return this.address;
    }

    public String getKey() {
        return this.key;
    }

    public Date getLoginTime() {
        return this.loginTime;
    }
}
